Skip to content

mcp: change default-true fields to pointers#44

Merged
jba merged 1 commit into
modelcontextprotocol:mainfrom
jba:fix-bool-defaults
Jun 25, 2025
Merged

mcp: change default-true fields to pointers#44
jba merged 1 commit into
modelcontextprotocol:mainfrom
jba:fix-bool-defaults

Conversation

@jba
Copy link
Copy Markdown
Contributor

@jba jba commented Jun 25, 2025

Some logically boolean fields default to true. We cannot use bool for these fields, because it defaults to false. So use *bool.

Fixes #40.

Some logically boolean fields default to true. We cannot use `bool`
for these fields, because it defaults to false. So use `*bool`.

Fixes modelcontextprotocol#40.
@jba jba requested a review from findleyr June 25, 2025 19:32
@jba jba merged commit 81eb55e into modelcontextprotocol:main Jun 25, 2025
3 checks passed
@jba jba mentioned this pull request Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

some ToolAnnotations bools default to true

2 participants